package cn.ncupyh.Extends02;

//行政部员工
public class Adminstaff extends School{
//    public void teaching(){
//        System.out.println("教研部根据教学的方式为");
//    }
    public Adminstaff(String ID, String name, String work) {
        super(ID, name, work);
        System.out.print("行政部员工--");
    }

    @Override
    public String toString() {
        return "Adminstaff{" +
                "ID='" + ID + '\'' +
                ", name='" + name + '\'' +
                ", work='" + work + '\'' +
                '}';
    }

    public Adminstaff() {
    }
}
